<!doctype html>
<html>

    <head>
        <meta charset="utf-8">
        <meta name="viewport" content="maximum-scale=1.0,minimum-scale=1.0,user-scalable=0,width=device-width,initial-scale=1.0" />
        <title></title>
        <style>
            * {
                margin: 0;
                padding: 0;
            }
            
            body {
                background-color: #ccc;
            }
            
            .pic {
                background-color: white;
                width: 400px;
                margin: 40px auto;
            }
            
            .pic img {
                width: 100%;
                vertical-align: middle;
            }
        </style>
    </head>

    <body>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/f9dcd100baa1cd1186ce8822bb12c8fcc3ce2dbc.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" class="img" data-echo="http://b.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b745924fa817cdfc1e178b8215d3.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://h.hiphotos.baidu.com/image/pic/item/5ab5c9ea15ce36d3c26af63138f33a87e950b140.jpg" />
        </div>
        <div class="pic">
            <img src="./img/blank.gif" data-echo="http://e.hiphotos.baidu.com/image/pic/item/0b55b319ebc4b7456f6d4d14cdfc1e178a821532.jpg" />
        </div>
    </body>
    <script src="./js/echo.js"></script>
    <script>
        //github https://github.com/iWenli/echo

        echo.init({
            offset: 0, //	指定距离视窗上下左右位置图片预加载 Number|String Default: 0
            throttle: 250, //	延迟加载  Number|String	Default: 250
            unload: true,
            callback: function(element, op) {
                // console.log(element, 'has been', op + 'ed')
            }
        });
    </script>

</html>
